package com.lyj.mapper;

import com.lyj.pojo.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface PaymentMapper {

    List<Payment> queryAllPayment();
    List<Payment> queryPaymentByName(String oldName);
    //增加缴费信息
    Boolean addPayment(Payment payment);
    //修改缴费信息
    Boolean updatePayment(Payment payment);
    Boolean delPayment(int paymentId);


}
